package com.boat.starter.xxljob.props;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.boat.starter.xxljob.constant.TaskConsts;
import com.boat.starter.xxljob.constant.TaskConsts.TaskType;

import lombok.Data;

/**
 * Description: mq配置
 *
 * @author: zuomin (myleszelic@outlook.com)
 * @date: 2021/07/09-15:20
 */
@Data
@ConfigurationProperties(prefix = TaskConsts.PREFIX)
public class TaskProperties {

    private String type = TaskType.XXLJOB;

    private XxlJobProperties xxljob;

}
